package mill.components;

import java.util.Date;

public class Generator extends MillComponent{

	private double m_powerOutput;
	
	
	public Generator(Date commisionDate, String manufacture) {
		super(commisionDate, manufacture);
		
		m_powerOutput = 0;
	}


	public synchronized double get_powerOutput() {
		return m_powerOutput;
	}


	public synchronized void set_powerOutput(double output) {
		m_powerOutput = output;
	}

   @Override
   public String toString()
   {
	   return "Generator";
   }

}
